
package com.huaweicloud.haydn.delivercore.agent.dto.haydn;

import com.fasterxml.jackson.annotation.JsonProperty;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class DbDto {

    @JsonProperty("datalink_name")
    private String datalinkName;

    @ApiModelProperty(value = "数据连接uuid")
    @JsonProperty("datalink_uuid")
    private String datalinkUuid;

    // 掩码处理
    @ApiModelProperty(value = "数据库名")
    @JsonProperty("database_name")
    private String databaseName;

    // 掩码处理
    @ApiModelProperty(value = "数据库容量")
    @JsonProperty("database_capacity")
    private String databaseCapacity;

    // 掩码处理
    @ApiModelProperty(value = "数据库行数")
    @JsonProperty("database_table_num")
    private String databaseTableNum;

    @JsonProperty("database_type")
    private String databaseType;

    private String uuid;

    @JsonProperty("created_time")
    private Date createdTime;

    @JsonProperty("last_update_time")
    private Date lastUpdateTime;

    @JsonProperty("data_gen_time")
    private Date dataGenTime;
}
